﻿using UnityEngine;
using DG.Tweening;
namespace Code.CharacterSystem
{
    public class UIManager:MonoBehaviour
    {
        [SerializeField] private GameObject _dieTitle;

        public static UIManager Instance = null;
      
        private void Awake()
        {
            if (Instance == null) 
            {
                Instance = this;
                DontDestroyOnLoad(this.gameObject);
            }
            else 
            {
                Destroy(this.gameObject);
            }
            
        }

        public void ShowDieTitle(bool active) 
        {
            _dieTitle.SetActive(active);
        }
    }
}
